package com.adgox.tiantianbiting.mine.message;

import com.adgox.tiantianbiting.base.BasePresenter;
import com.adgox.tiantianbiting.base.BaseView;
import com.adgox.tiantianbiting.bean.MessageBean;
import com.adgox.tiantianbiting.bean.MessageCountBean;

public class MessageContract  {
    interface Presenter extends BasePresenter{
        void getSystem(int startPage,int maxPage,int type);
        void getSystemCount(long startTime,int type);
        void getActivity(int startPage,int maxPage,int type);
        void getComment(int startPage,int maxPage,int type);
    }

    interface View extends BaseView<Presenter>{
        void setSystem(MessageBean.DataBeanX beanX);
        void setSystemCount(MessageCountBean.DataBean bean);
        void setActivityCount(MessageCountBean.DataBean bean);
        void setActivity(MessageBean.DataBeanX beanX);
        void setComment(MessageBean.DataBeanX beanX);
        void onGetDataFailed(String msg);
        void onGetDataFailed2(String msg);
    }
}
